package com.chang.common.exception;


import lombok.Getter;
import lombok.Setter;

public class NoOrderException extends RuntimeException {
    @Getter
    @Setter
    private Long OrderSN;

    public NoOrderException(Long OrderSN) {
        super("OrderSN：" + OrderSN + "未查询到该订单！");
    }

    public NoOrderException(String msg) {
        super(msg);
    }
}
